package tests;

import junit.framework.*;

public class RunAllTests extends TestCase {

	public RunAllTests(String pName) {
		super(pName);
	}

	/*public static void main(String[] args) {
		junit.textui.TestRunner.run(TaskManagerTest.class);
	}*/

	public static Test suite() {
		TestSuite suite= new TestSuite();
		suite.addTestSuite(AddSubTaskCommandTest.class);
		suite.addTestSuite(AddTaskCommandTest.class);
		suite.addTestSuite(ComplexTaskTest.class);
		suite.addTestSuite(DeleteSubTaskCommandTest.class);
		suite.addTestSuite(DeleteTaskCommandTest.class);
		suite.addTestSuite(PeriodicTaskTest.class);
		suite.addTestSuite(SetSubTaskStatusCommandTest.class);
		suite.addTestSuite(SetTaskStatusCommandTest.class);
		suite.addTestSuite(SingleTaskTest.class);
		suite.addTestSuite(TaskManagerFactoryTest.class);
		//suite.addTestSuite(TaskManagerGuiTest.class);
		suite.addTestSuite(TaskManagerTest.class);
		suite.addTestSuite(TaskTest.class);
		
		return suite;
	}

}